#ifndef __GND_SERVICE_H__
#define __GND_SERVICE_H__

#include <glibmm/object.h>
#include "Global.h"

namespace Gnodroid {

    /** 服务基类，服务用于为模块提供功能
     */
    class Service :
        public Glib::Object
    {
    public:
        Service(ServiceId sId);

        ServiceId getId();
        virtual void start() = 0;
        virtual void stop() = 0;
    
    protected:

    private:
        ServiceId m_emServiceId;
    };
  
}


#endif
